#pragma once
#ifndef skyFont_h__
#define skyFont_h__
#include "./skyAdapter.h"
#ifdef _SYMBIAN
#include "./symbian/symFont.h"
#elif defined(_GLES_)
#include "../adapter/gles/glFont.h"
#elif defined(_DX90_)
#include "../adapter/dx90/dxFont.h"
#endif
#include "./skyString.h"
namespace Sky
{
	class Font : public OSFont
	{
	public:
		StringPtr& getName(){return _name;}
		Size getSize(){return _size;}
		i32  getWeight(){return _weight;}
	protected:
		StringPtr _name;
		Size _size;
		i32 _weight;
	};

	typedef RefPtr<Font> FontPtr;

	class FontManager : public OSFontManager
	{
	public:
		static Bool createFont(String* fontName,i32 weight,i32 height,i32 width,Font* font);
	};
	typedef RefPtr<FontManager> FontManagerPtr;
}
#endif // skyFont_h__
